Total Complexity | 18 |
Dependencies | 0 |
Dependents | 0 |
Total lines | 88 |
Lines of code | 71 |
Logical lines of code | 43 |
Comment lines | 3 |
Methods | 5 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
is_valid_for_product_brand() | 55 | 6 | 18 | |
coupon_restriction() | 50 | 5 | 27 | |
is_valid_coupon() | 57 | 4 | 16 | |
coupon_save() | 73 | 2 | 4 | |
__construct() | 69 | 1 | 6 |